package com.re.api;

import com.re.dto.User;

import java.util.List;

/**
 * 用户业务接口
 * @author re
 */
public interface UserApi {
    boolean save(User user);
    User getById(Long id);
    List<User> list();
    User getByUsername(String username);
    boolean update(User user);
    boolean removeById(Long id);
} 